package tech.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import tech.aistar.pojo.Product;

import java.util.List;

public interface ProductMapper {
    @Select("select * from product")
    List<Product> findAll();
    
//     根据名称模糊查询
    @Select("select * from product where name like #{value}")
    List<Product> productNameLike(String likeKey);
}
